package com.loveprogrammer.eternity.factory.template;

/**
 * @version 1.0.0
 * @description: 装备的模板类
 * @author: eric
 * @date: 2022-08-09 10:33
 **/
public class EquipmentTemplate extends GoodsTemplate {

    private String strength;                  // 力量 影响物理输出 物理技能输出
    private String armature;                 // 护甲值 影响物理防御和法术防御
    private String constitution;               // 体质 影响生命值 一点体质增加10点生命值
    private String magic;                       // 魔力 影响法术输出 法术技能输出
    private String technique;                   // 技巧 影响闪避率、暴击率
    private String speed;                         // 攻击速度

    private String hp;                            // 生命值

    private String evasion;

    private String fortune;

    private int weaponType;

    private int suitId;

    // 毒抗
    private String poisonResistance;

    // 火抗
    private String flameResistance;

    // 电抗
    private String thunderResistance;

    // 冰抗
    private String iceResistance;

    // 特殊效果
    private String effects;



    public String getStrength() {
        return strength;
    }

    public void setStrength(String strength) {
        this.strength = strength;
    }

    public String getArmature() {
        return armature;
    }

    public void setArmature(String armature) {
        this.armature = armature;
    }

    public String getConstitution() {
        return constitution;
    }

    public void setConstitution(String constitution) {
        this.constitution = constitution;
    }

    public String getMagic() {
        return magic;
    }

    public void setMagic(String magic) {
        this.magic = magic;
    }

    public String getTechnique() {
        return technique;
    }

    public void setTechnique(String technique) {
        this.technique = technique;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getHp() {
        return hp;
    }

    public void setHp(String hp) {
        this.hp = hp;
    }

    public String getEvasion() {
        return evasion;
    }

    public void setEvasion(String evasion) {
        this.evasion = evasion;
    }

    public String getFortune() {
        return fortune;
    }

    public void setFortune(String fortune) {
        this.fortune = fortune;
    }

    public int getWeaponType() {
        return weaponType;
    }

    public void setWeaponType(int weaponType) {
        this.weaponType = weaponType;
    }

    public int getSuitId() {
        return suitId;
    }

    public void setSuitId(int suitId) {
        this.suitId = suitId;
    }

    @Override
    public String toString() {
        return "EquipmentTemplate{" +
                "id='" + getId() + '\'' +
                ", name='" + getName() + '\'' +
                ", type='" + getType() + '\'' +
                ", level=" + getLevel() +
                ", desc='" + getDesc() + '\'' +
                ", strength=" + strength +
                ", armature=" + armature +
                ", constitution=" + constitution +
                ", magic=" + magic +
                ", technique=" + technique +
                ", speed=" + speed +
                ", hp=" + hp +
                ", evasion='" + evasion + '\'' +
                ", fortune='" + fortune + '\'' +
                ", weaponType=" + weaponType +
                '}';
    }

    public String getPoisonResistance() {
        return poisonResistance;
    }

    public void setPoisonResistance(String poisonResistance) {
        this.poisonResistance = poisonResistance;
    }

    public String getFlameResistance() {
        return flameResistance;
    }

    public void setFlameResistance(String flameResistance) {
        this.flameResistance = flameResistance;
    }

    public String getThunderResistance() {
        return thunderResistance;
    }

    public void setThunderResistance(String thunderResistance) {
        this.thunderResistance = thunderResistance;
    }

    public String getIceResistance() {
        return iceResistance;
    }

    public void setIceResistance(String iceResistance) {
        this.iceResistance = iceResistance;
    }

    public String getEffects() {
        return effects;
    }

    public void setEffects(String effects) {
        this.effects = effects;
    }
}
